package com.itc.bpm.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itc.common.core.validate.Add;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 异常上报记录
 */
@TableName("bpm_abnormal_reporting")
@Data
public class BpmAbnormalReporting extends BaseDO{
    @TableId
    private Long id;
    @NotNull(message = "异常内容不能为空",groups = Add.class)
    @ApiModelProperty(value = "内容")
    private String content;
    @ApiModelProperty(value = "附件")
    private String file;
    @NotNull(message = "流程实例id不能为空",groups = Add.class)
    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;
    @ApiModelProperty(value = "任务id")
    private String taskId;

}
